package com.fit.WatchShop.pages;

import org.apache.tapestry5.annotations.Persist;

public class ViewError {
	
	@Persist
	private String passedMessage;

	public String getPassedMessage() {
		return passedMessage;
	}

	public void setPassedMessage(String passedMessage) {
		this.passedMessage = passedMessage;
	}
	
	public String getErrorMessage() {
		return this.passedMessage;
	}
	
	void onActivate(String message) {
		this.passedMessage = message;
	}
	
	String onPassivate() {
		return passedMessage;
	}

}
